package org.travel.dal.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.forbes.comm.entity.BaseEntity;

/**
 * Table: f_sys_user_role
 */
@Data
@ApiModel(description="用户-角色")
@TableName("f_sys_user_role")
public class SysUserRole extends BaseEntity {
    /**
     * 用户ID
     *
     * Table:     f_sys_user_role
     * Column:    user_id
     * Nullable:  true
     */
    @ApiModelProperty(value = "用户ID",example="0")
    private Long userId;

    /**
     * 角色ID
     *
     * Table:     f_sys_user_role
     * Column:    role_id
     * Nullable:  true
     */
    @ApiModelProperty(value = "角色ID",example="0")
    private Long roleId;
}